IApi.EnableAliases method
Use EnableAliases to enable the alias feature after configuring the alias index for axes and I/O modules using WriteAxisAlias and WriteIOAlias. Once enabled, the Index parameter in all APIs related to axes and I/O modules will correspond to the alias index.
Namespace: IntervalZero.KINGSTAR.Base.ApiAssembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0
Syntax
KsError EnableAliases(
bool Active
)Function EnableAliases(
Active As Boolean
) As KsErrorParameters
Active
Type: bool
This parameter determines whether aliases are used. true to enable, and false to disable aliasing. By default, it is false.
Return value
Type: KsError
A return code of a method.
Remarks
It gets details for each drive and identifies each drive using vendor, product, and alias. If drives are not plugged in the correct order, rearrange the list of drives. Use it after the KINGSTAR Subsystem is started.
Usable EtherCAT states
ecatOP
Examples
N/ASee also